[INFO] fetching crate codex-app-server-sdk 0.5.1...
[INFO] testing codex-app-server-sdk-0.5.1 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] extracting crate codex-app-server-sdk 0.5.1 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate codex-app-server-sdk 0.5.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate codex-app-server-sdk 0.5.1
[INFO] tweaked toml for crates.io crate codex-app-server-sdk 0.5.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate codex-app-server-sdk 0.5.1 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate codex-app-server-sdk 0.5.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded codex-app-server-sdk-macros v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5ab9eb5ba2503af74182a7b24ba57d45bf657d2229b237cfe53085a1e833839b
[INFO] running `Command { std: "docker" "start" "-a" "5ab9eb5ba2503af74182a7b24ba57d45bf657d2229b237cfe53085a1e833839b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ab9eb5ba2503af74182a7b24ba57d45bf657d2229b237cfe53085a1e833839b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ab9eb5ba2503af74182a7b24ba57d45bf657d2229b237cfe53085a1e833839b", kill_on_drop: false }`
[INFO] [stdout] 5ab9eb5ba2503af74182a7b24ba57d45bf657d2229b237cfe53085a1e833839b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e07d1196e68de66d64e7b3850d3490a929536f83d2e322979dfb06cef9f3b1e2
[INFO] running `Command { std: "docker" "start" "-a" "e07d1196e68de66d64e7b3850d3490a929536f83d2e322979dfb06cef9f3b1e2", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling syn v2.0.115
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling codex-app-server-sdk-macros v0.1.1
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling schemars v1.2.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling codex-app-server-sdk v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.18s
[INFO] running `Command { std: "docker" "inspect" "e07d1196e68de66d64e7b3850d3490a929536f83d2e322979dfb06cef9f3b1e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e07d1196e68de66d64e7b3850d3490a929536f83d2e322979dfb06cef9f3b1e2", kill_on_drop: false }`
[INFO] [stdout] e07d1196e68de66d64e7b3850d3490a929536f83d2e322979dfb06cef9f3b1e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be4808fa152bbad907c296343d259e7e04a8cba7e15f9761b5ba064fd3c802e4
[INFO] running `Command { std: "docker" "start" "-a" "be4808fa152bbad907c296343d259e7e04a8cba7e15f9761b5ba064fd3c802e4", kill_on_drop: false }`
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling aws-lc-rs v1.16.1
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.38.0
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling rcgen v0.13.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling codex-app-server-sdk v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 58.56s
[INFO] running `Command { std: "docker" "inspect" "be4808fa152bbad907c296343d259e7e04a8cba7e15f9761b5ba064fd3c802e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be4808fa152bbad907c296343d259e7e04a8cba7e15f9761b5ba064fd3c802e4", kill_on_drop: false }`
[INFO] [stdout] be4808fa152bbad907c296343d259e7e04a8cba7e15f9761b5ba064fd3c802e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9e261f968d51acb2fde3f00179dae4524973af162fd8e8f6c14eec88fe23e7fd
[INFO] running `Command { std: "docker" "start" "-a" "9e261f968d51acb2fde3f00179dae4524973af162fd8e8f6c14eec88fe23e7fd", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/codex_app_server_sdk-98610ff0918a570a)
[INFO] [stdout] 
[INFO] [stdout] running 26 tests
[INFO] [stdout] test api::tests::final_response_prefers_final_answer_phase ... ok
[INFO] [stdout] test api::tests::normalize_input_combines_text_and_images ... ok
[INFO] [stdout] test api::tests::parse_unknown_item_preserves_payload ... ok
[INFO] [stdout] test api::tests::parse_missing_documented_thread_item_variants ... ok
[INFO] [stdout] test api::tests::select_latest_thread_id_falls_back_to_first_matching_thread_without_timestamps ... ok
[INFO] [stdout] test api::tests::parse_agent_message_item ... ok
[INFO] [stdout] test api::tests::select_latest_thread_id_prefers_newest_matching_working_directory ... ok
[INFO] [stdout] test api::tests::select_latest_thread_id_keeps_newest_listed_match_when_later_entry_only_has_timestamp ... ok
[INFO] [stdout] test api::tests::parse_usage_from_token_usage_payload ... ok
[INFO] [stdout] test api::tests::thread_options_builder_maps_extended_protocol_fields ... ok
[INFO] [stdout] test api::tests::thread_options_builder_skip_git_repo_check_matches_cli_flag_semantics ... ok
[INFO] [stdout] test api::tests::turn_options_builder_clear_output_schema_overrides_previous_value ... ok
[INFO] [stdout] test api::tests::turn_options_builder_overrides_thread_defaults ... ok
[INFO] [stdout] test api::tests::turn_options_value_helpers_set_raw_and_typed_schemas ... ok
[INFO] [stdout] test api::tests::turn_options_builder_sets_typed_output_schema ... ok
[INFO] [stdout] test schema::tests::derives_openai_schema_without_meta_schema ... ok
[INFO] [stdout] test schema::tests::helper_serializes_and_deserializes_struct_values ... ok
[INFO] [stdout] test client::tests::auto_handles_apply_patch_approval_when_handler_registered ... ok
[INFO] [stdout] test schema::tests::schema_helper_accepts_json_schema_types_directly ... ok
[INFO] [stdout] test transport::ws_daemon::tests::explicit_start_config_supports_separate_listen_and_connect_urls ... ok
[INFO] [stdout] test transport::ws_daemon::tests::invalid_and_missing_port_urls_are_rejected ... ok
[INFO] [stdout] test transport::ws_daemon::tests::localhost_listen_url_is_normalized ... ok
[INFO] [stdout] test transport::ws_daemon::tests::loopback_ws_urls_are_managed ... ok
[INFO] [stdout] test transport::ws_daemon::tests::remote_urls_are_connect_only ... ok
[INFO] [stdout] test transport::ws::tests::connect_ws_transport_supports_wss_urls ... ok
[INFO] [stdout] test client::tests::unhandled_server_request_is_published_as_event ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_api_stdio.rs (/opt/rustwide/target/debug/deps/integration_api_stdio-1dc03cb6b576e727)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test run_collects_typed_items_and_response ... FAILED
[INFO] [stdout] test run_streamed_emits_turn_lifecycle_events ... FAILED
[INFO] [stdout] test codex_ask_with_options_returns_final_response_only ... FAILED
[INFO] [stdout] test ask_returns_final_response_only ... FAILED
[INFO] [stdout] test codex_resume_latest_thread_uses_most_recent_matching_working_directory ... FAILED
[INFO] [stdout] test codex_resume_thread_by_id_reuses_existing_thread ... FAILED
[INFO] [stdout] test codex_client_start_thread_runs_typed_api ... FAILED
[INFO] [stdout] test run_respects_output_schema_for_typed_deserialization ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- run_collects_typed_items_and_response stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- run_streamed_emits_turn_lifecycle_events stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- codex_ask_with_options_returns_final_response_only stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- ask_returns_final_response_only stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- codex_resume_latest_thread_uses_most_recent_matching_working_directory stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- codex_resume_thread_by_id_reuses_existing_thread stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- codex_client_start_thread_runs_typed_api stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] ---- run_respects_output_schema_for_typed_deserialization stdout ----
[INFO] [stdout] Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     ask_returns_final_response_only
[INFO] [stdout]     codex_ask_with_options_returns_final_response_only
[INFO] [stdout]     codex_client_start_thread_runs_typed_api
[INFO] [stdout]     codex_resume_latest_thread_uses_most_recent_matching_working_directory
[INFO] [stdout]     codex_resume_thread_by_id_reuses_existing_thread
[INFO] [stdout]     run_collects_typed_items_and_response
[INFO] [stdout]     run_respects_output_schema_for_typed_deserialization
[INFO] [stdout]     run_streamed_emits_turn_lifecycle_events
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test integration_api_stdio`
[INFO] running `Command { std: "docker" "inspect" "9e261f968d51acb2fde3f00179dae4524973af162fd8e8f6c14eec88fe23e7fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e261f968d51acb2fde3f00179dae4524973af162fd8e8f6c14eec88fe23e7fd", kill_on_drop: false }`
[INFO] [stdout] 9e261f968d51acb2fde3f00179dae4524973af162fd8e8f6c14eec88fe23e7fd
